package com.centit.framework.ip.allmodule.service.impl;

import java.util.Map;
import com.alibaba.fastjson.JSONArray;
import com.centit.support.database.utils.PageDesc;
 

import com.centit.framework.ip.allmodule.po.Models;
import com.centit.framework.ip.allmodule.dao.ModelsDao;
import com.centit.framework.jdbc.service.BaseEntityManagerImpl;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.centit.framework.ip.allmodule.service.ModelsManager;
import javax.annotation.PostConstruct;
import javax.annotation.Resource;
import javax.validation.constraints.NotNull;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.transaction.annotation.Propagation;
/**
 * Models  Service.
 * create by scaffold 2018-07-08 
 * @author codefan@sina.com
 * 功能信息表功能信息表   
*/
@Service
public class ModelsManagerImpl 
		extends BaseEntityManagerImpl<Models,String,ModelsDao>
	implements ModelsManager{

	public static final Log log = LogFactory.getLog(ModelsManager.class);

	
	private ModelsDao modelsDao ;
	
	@Resource(name = "modelsDao")
    @NotNull
	public void setModelsDao(ModelsDao baseDao)
	{
		this.modelsDao = baseDao;
		setBaseDao(this.modelsDao);
	}
	
/*
 	@PostConstruct
    public void init() {
        
    }
 	
 */
	@Override
    @Transactional(propagation=Propagation.REQUIRED) 
	public JSONArray listModelssAsJson(
            String[] fields,
            Map<String, Object> filterMap, PageDesc pageDesc){
			
		  return null;
	}
	
}

